using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

using DataAccess;
using Business;

namespace TEST
{
    public partial class Form1 : Form
    {
       
       
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            
            //clsTimData timData = new clsTimData();
            //clsPMuonSach phieuMuonSach = new clsPMuonSach();

            //phieuMuonSach = timData.TimPMuonSach("1");
            //MessageBox.Show(phieuMuonSach.TienNo.ToString());

            //clsThucThiSql thucThiSql = new clsThucThiSql();
            //String sql = "insert into LOAIDG values('DG9','HUY')";
            //int check = thucThiSql.ThucThiNonQuery(sql);

            //clsTimData timData = new clsTimData();
            //clsLoaiDG loaiDG = timData.TimLoaiDG("DG02");

            //MessageBox.Show(loaiDG.TenLDG);
            //clsBoPhanDAO bophan = new clsBoPhanDAO();
            //dgvthunghiem.DataSource = bophan.SelectAll();

            //clsTuaSachDAO tuasach = new clsTuaSachDAO();
            //dgvthunghiem.DataSource = tuasach.SelectAll();

            //clsNhaXuatBanDAO nxb = new clsNhaXuatBanDAO();
            //dgvthunghiem.DataSource = nxb.SelectAll();

            //clsTacGiaDAO tacgia = new clsTacGiaDAO();
            //dgvthunghiem.DataSource = tacgia.SelectAll();
            //clsBangCapBUS bangcap = new clsBangCapBUS();
            //dgvthunghiem.DataSource = bangcap.DanhSachBangCap();

            clsQuanTriBUS nhanvienBus = new clsQuanTriBUS();
            DataTable tbl = new DataTable();
            tbl = nhanvienBus.LayChiTietThongTinNhanVien ();
            dgvthunghiem.DataSource = tbl;
        }
    }
}